$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .banner {
    position: relative;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }

    .text {
      position: absolute;
      left: 190/$f+vw;
      top: 50%;
      transform: translateY(-50%);

      .p1 {
        background: linear-gradient(180deg, rgba(56, 110, 181, 0.50) 35.29%, rgba(255, 255, 255, 0.00) 84.31%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 40/$f+vw;
        text-transform: uppercase;
        font-family: 'PingFang';
        font-weight: 600;
      }

      .p2 {
        color: #386EB5;
        font-size: 48/$f+vw;
        font-weight: 700;
        margin-top: -1vw;
      }
    }

    .types {
      border-top: 3px solid rgba(58, 133, 192, 0.10);
      background: rgba(0, 0, 0, 0.30);
      backdrop-filter: blur(5px);
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;

      .items {
        width: 65%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;

        .item {
          width: 20%;
          position: relative;
          cursor: pointer;

          &::before {
            content: '';
            display: block;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: -2px;
            width: 0;
            transition: all 600ms;
            height: 4/$f+vw;
            background: #386EB5;
          }

          .p1 {
            color: #FFF;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 22/$f+vw 0;
            font-size: 20/$f+vw;
            font-weight: 700;
            transition: all 600ms;

            svg {
              display: block;
              width: 24/$f+vw;

              path {
                transition: all 600ms;
              }
            }
          }

          &:hover {
            &::before {
              width: 100%;
            }

            .p1 {
              color: #386EB5;

              svg {
                path {
                  stroke: #386EB5;
                }
              }
            }
          }
        }

        .active {
          &::before {
            width: 100%;
          }

          .p1 {
            color: #386EB5;

            svg {
              path {
                stroke: #386EB5;
              }
            }
          }
        }
      }
    }
  }


  .main {
    //margin: 80/$f+vw 190/$f+vw;

    .section1{
      background: #FAFAFA;
      padding: 105/$f+vw 144/$f+vw 89/$f+vw 147/$f+vw;
      *{
        box-sizing: border-box;
      }
      .wrap{
        .title{
          color: #000;
          font-size: 40/$f+vw;
          font-style: normal;
          font-weight: 600;
          line-height: 40/$f+vw; /* 100% */
          padding: 0 0 0 58/$f+vw;
          margin: 0 0 102/$f+vw;
        }
        .content{
          position: relative;
          .top{
            position: relative;
          }
          .map{
            width: 100%;
          }
          .posi_content{
            position: absolute;
            top: -47/$f+vw;
            left: 915/$f+vw;
            width: 356/$f+vw;
            z-index: 2  ;
            .img{
              width: 100%;
              height: 200/$f+vw;
              img{
                width: 100%;
                height: 100%;
              }
            }
            .color{
              background: #FFF;
              padding: 35/$f+vw 34/$f+vw 21/$f+vw 40/$f+vw;
              .dis{
                display: flex;
                align-items: center;
                margin: 0 0 7/$f+vw;
                .img{
                  width: 51/$f+vw;
                  height: 36/$f+vw;
                  img{
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                  }
                }
                h1{
                  color: #386EB5;
                  font-size: 20/$f+vw;
                  font-style: normal;
                  font-weight: 700;
                  line-height: 30/$f+vw; /* 150% */
                  margin: 0;
                }
              }
              .text{
                color: #606879;
                font-size: 14/$f+vw;
                font-style: normal;
                font-weight: 400;
                line-height: 24.5/$f+vw; /* 175% */
              }
              .tel{
                margin: 11/$f+vw 0 0 0;
                color: #606879;
                font-size: 14/$f+vw;
                font-style: normal;
                font-weight: 400;
              }
            }
          }
          .position{
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            .point{
              display: flex;
              align-items: center;
              width: fit-content;
              padding: 2/$f+vw 11/$f+vw 2/$f+vw 2/$f+vw;
              background: #707070;
              border-radius: 8/$f+vw;
              position: absolute;
              transition: .6s;
              cursor: pointer;
              &.point1{
                top: 327/$f+vw;
                left: 476/$f+vw;
              }
              &.point2{
                top: 415/$f+vw;
                left: 527/$f+vw;
              }
              &.point3{
                top: 278/$f+vw;
                left: 571/$f+vw;
              }
              &.point4{
                top: 359/$f+vw;
                left: 619/$f+vw;
              }
              &:after{
                content: '';
                position: absolute;
                border-left: 7/$f+vw solid transparent;
                border-right: 7/$f+vw solid transparent;
                border-bottom: 6/$f+vw solid #707070;
                top: -6/$f+vw;
                left: 50%;
                transform: translateX(-50%);
                transition: .6s;
              }
              .img{
                width: 50/$f+vw;
                height: 30/$f+vw;
                margin: 0 8/$f+vw 0 0;
                display: flex;
                align-items: center;
                justify-content: center;
                img{
                  max-width: 100%;
                  max-height: 100%;
                  object-fit: contain;
                  border-radius: 8/$f+vw;
                }
              }
              p{
                color: #EDF0F2;
                font-size: 18/$f+vw;
                font-style: normal;
                font-weight: 600;
              }
              &.top{
                &:after{
                  top: unset;
                  bottom: -5/$f+vw;
                  border-bottom: none;
                  border-top: 6/$f+vw solid #707070;
                }
                &:hover{
                  &:after{
                    border-bottom: none;
                    border-top: 6/$f+vw solid #1280C4;
                  }
                }
              }
              &:hover{
                background: #1280C4;
                &:after{
                  border-bottom: 6/$f+vw solid #1280C4;
                }
              }
            }
          }
        }
      }
    }

    .section2{
      padding: 0 240/$f+vw 120/$f+vw 240/$f+vw;
      background: #FAFAFA;
      *{
        box-sizing: border-box;
      }
      .wrap{
        .title{
          color: #000;
          font-size: 40/$f+vw;
          font-style: normal;
          font-weight: 600;
          margin: 0 0 70/$f+vw;
        }
        .content{
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;
          .display{
            display: flex;
            align-items: center;
            justify-content: center;
            margin: auto;
            input{
              width: 209.84/$f+vw;
              height: 60/$f+vw;
              background: #FFF;
              padding: 0 0 0 15/$f+vw;
              font-size: 16/$f+vw;
              border: 1px solid #E5E5E5;
            }
            #canvas{
              width: 119/$f+vw;
              height: 60/$f+vw;
            }
            .btn{
              width: 200/$f+vw;
              height: 60/$f+vw;
              display: flex;
              align-items: center;
              justify-content: center;
              color: #FFF;
              text-align: center;
              font-size: 18/$f+vw;
              font-style: normal;
              font-weight: 400;
              line-height: normal;
              margin: 0 0 0 50/$f+vw;
              background: #386EB5;
              border: none;
              cursor: pointer;
            }
          }
          .list{
            margin: 0 0 40/$f+vw;

            &.all{
              width: 100%;
              .border{
                width: 100%;
              }
            }


            &.textarea{
              width: 100%;
              .border{
                width: 100%;
                height: 282/$f+vw;
                align-items: unset;
                padding: 20/$f+vw;
                .icon{
                  position: relative;
                  top: 5px;
                }
              }
              textarea{
                width: 100%;
                font-size: 18/$f+vw;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
                border: none;
              }
            }
            p{
              color: #333;
              font-size: 20/$f+vw;
              font-style: normal;
              font-weight: 400;
              line-height: 20/$f+vw; /* 100% */
              b{
                color: #F00;
                font-size: 20/$f+vw;
                font-style: normal;
                font-weight: 400;
                line-height: 20/$f+vw;
              }
            }
            .border{
              margin: 12/$f+vw 0 0 0;
              width: 677/$f+vw;
              height: 72/$f+vw;
              display: flex;
              align-items: center;
              padding: 0 16/$f+vw;
              border: 1px solid #E5E5E5;
              background: #FFF;
              .icon{
                width: 27/$f+vw;
                height: 22/$f+vw;
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0 25/$f+vw 0 0;
                img{
                  max-width: 100%;
                  max-height: 100%;
                  object-fit: contain;
                }
              }
              input{
                height: 100%;
                flex: 1;
                font-size: 18/$f+vw;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
                border: none;
                &::placeholder{
                  color: #999;
                }
              }
            }
          }
        }
      }
    }

    .section3{
      *{
        box-sizing: border-box;
      }
      .item{
        width: 100%;
        height: 317/$f+vw;
        padding: 50/$f+vw 240/$f+vw;
        display: flex;
        justify-content: space-between;
        transition: .4s ease;
        .l{
          width: 50%;
          h1{
            color: #000;
            font-size: 24/$f+vw;
            font-style: normal;
            font-weight: 600;
            line-height: 36/$f+vw; /* 150% */
            letter-spacing: -0.12px;
            transition: .4s ease;
          }
          p{
            color: #000;
            font-size: 54/$f+vw;
            font-style: normal;
            font-weight: 100;
            line-height: 81/$f+vw; /* 150% */
            letter-spacing: -0.27px;
            transition: .4s ease;
            font-family: 'PingFang-Light';
          }
        }
        .r{
          width: 557/$f+vw;
          *{
            font-family: 'PingFang';
            font-weight: 100!important;
          }
          .pick{
            color: #000;
            font-size: 16/$f+vw;
            font-style: normal;
            font-weight: 300;
            line-height: 24/$f+vw; /* 150% */
            letter-spacing: -0.08px;
            transition: .4s ease;
          }
          .flex{
            margin: 32/$f+vw 0 0 0;
            .list{
              display: flex;
              align-items: center;
              &:not(:last-child) {
                margin: 0 0 9/$f+vw;
              }
              .bor{
                width: 127/$f+vw;
                border-radius: 3px;
                border: 1px solid rgba(0, 0, 0, 0.50);
                padding: 3/$f+vw 32.16/$f+vw 3/$f+vw 32.14/$f+vw;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #000;
                text-align: center;
                font-size: 15/$f+vw;
                font-style: normal;
                font-weight: 300;
                line-height: 22.5/$f+vw; /* 150% */
                letter-spacing: -0.075px;
                margin: 0 31/$f+vw 0 0;
                transition: .4s ease;
              }
              p{
                color: #000;
                font-size: 15/$f+vw;
                font-style: normal;
                font-weight: 300;
                line-height: 22.5/$f+vw; /* 150% */
                letter-spacing: -0.075px;
                transition: .4s ease;
                font-family: 'PingFang';
              }
            }
          }
        }
        &.on{
          background: #386EB5;
          .l{
            h1,p{
              color: #fff;
            }
          }
          .r{
            .pick{
              color: #fff;
            }
            .flex{
              .bor{
                border: 1px solid #fff;
                color: #fff;
              }
              p{
                color: #fff;
              }
            }
          }
        }
      }
    }


  }

  img{
    object-fit: cover;
  }


  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .banner{
      img{
        height: 150px;
      }
      .text{
        left: 5%;
        top:50%;
        .p1{
          font-size: 20px;
        }
        .p2{
          font-size: 20px;
          margin-top: -10px;
        }
      }
      .types{
        position: static;
        .items{
          width: 100%;
          .item{
            .p1{
              font-size: 12px;
              padding: 10px 0;
            }
          }
        }
      }
    }
    .main{
      .section1{
        padding: 25px 5%;
        .wrap{
          .title{
            font-size: 24px;
            padding: 0;
            line-height: 1;
          }
          .content{
            .top{
              .position{
                .point{
                  padding: 4px;
                  .img{
                    width: 38px;
                    height: auto;
                    margin: 0 5px 0 0;
                    img{
                      width: 100%;
                      height: auto;
                    }
                  }
                  p{
                    font-size: 14px;
                  }
                  &.point1{
                    top: 16.03125vw;
                    left: 11.791667vw;
                  }
                  &.point2{
                    top: 27.614583vw;
                    left: 27.447917vw;
                  }
                  &.point3{
                    top: 4.479167vw;
                    left: 29.7395833333vw;
                  }
                  &.point4{
                    top: 16.697917vw;
                    left: 41.239583vw;
                  }
                }
              }
            }
            .posi_content{
              position: static;
              width: 100%;
              margin: 25px 0 0 0;
              .img{
                width: 100%;
                height: auto;
              }
              .color{
                padding: 5%;
                .dis{
                  img{
                    width: 51px;
                    height: 36px;
                  }
                  h1{
                    font-size: 16px;
                    line-height: 1;
                  }
                }
                .text{
                  font-size: 16px;
                  line-height: 1.6;
                  margin: 10px 0 0 0;
                }
                .tel{
                  margin: 10px 0 0 0;
                  font-size: 16px;
                  line-height: 1.6;
                }
              }
            }
          }
        }
      }
      .section2{
        padding: 0 5% 25px 5%;
        .wrap{
          .title{
            font-size: 24px;
            margin: 0 0 25px;
          }
          .content{
            flex-direction: column;
            .list{
              margin: 0 0 25px!important;
              &.textarea{

                .border{
                  height: 120px;
                  padding: 3%;
                  .icon{
                    top: 0;
                  }
                }
              }
              p{
                font-size: 14px;
                line-height: 1;
                b{
                  font-size: 14px;
                }
              }
              .border{
                width: 100%;
                height: 45px;
                padding: 0 10px;
                margin: 15px 0 0 0;
                .icon{
                  width: 20px;
                  height: 20px;
                  margin: 0 7px 0 0;
                }
                input{
                  font-size: 14px;
                }
                textarea{
                  font-size: 14px;
                }
              }
            }
            .display{
              width: 100%;
              justify-content: unset;
              input{
                width: 80px;
                height: 36px;
                padding: 0 0 0 10px;
                font-size: 14px;
              }
              #canvas{
                width: 73px;
                height: 36px;
              }
              .btn{
                width: 122px;
                height: 36px;
                font-size: 12px;
                margin: 0 0 0 20px;
              }
            }
          }
        }
      }
      .section3{
        .item{
          padding: 50px 5%;
          height: auto;
          flex-direction: column;
          .l{
            width: 100%;
            h1{
              font-size: 13px;
              line-height: 1;
              margin: 10px 0;
            }
            p{
              font-size: 24px;
              line-height: 1;
            }
          }
          .r{
            margin: 50px 0 0 0;
            width: 100%;
            .pick{
              font-size: 14px;
              line-height: 1;
            }
            .flex{
              margin: 25px 0 0 0;
             .list{
               flex-direction: column;
               margin: 0 0 15px!important;
               align-items: flex-start;
               .bor{
                 width: 100px;
                 font-size: 12px;
                 margin: 0 0 10px 0;
                 padding: 10px 15px;
                 line-height: 1;
               }
               p{
                 font-size: 14px;
                 line-height: 1.8;
               }
             }

            }
          }
        }
      }
    }
  }
}